<template>
  <div>
    <!-- <nav> -->
      <!--使用 router-link 组件进行导航 -->
      <!--通过传递 `to` 来指定链接 -->
      <!-- <router-link to="./">首页</router-link>|
      <router-link to="./upload">主页</router-link>|
      <router-link to="./about">列表</router-link> -->
      <!-- <el-button style="margin-left: 20px;" @click="changeCom()">路由切换</el-button> -->
      <!-- <el-button style="margin-left: 20px;" @click="changeCom()">数据列表</el-button> -->
      <!-- <el-button @click="uploadFile()">上传文件</el-button> -->
    <!-- </nav> -->
    <router-view />
    <!-- <HelloWorld msg="Welcome to Your Vue.js App"/> -->
  </div>
  


</template>


<script>
import HelloWorld from './components/HelloWorld.vue'
export default {
  name: 'App',
  components: {
    HelloWorld
  }
}

</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
